﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="CheckoutBillingAddress.aspx.cs" Inherits="CS424_9pts.CheckoutBillingAddress" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="order-progress">
        <ul>
            <li>
                <asp:HyperLink runat="server" ID="hlCart" Text="Cart" CssClass="inactive-step" NavigateUrl="~/ShoppingCart.aspx">
                </asp:HyperLink></li>
            <li>
                <asp:HyperLink runat="server" ID="hlAddress" Text="Address" CssClass="active-step"
                    NavigateUrl="~/CheckoutBillingAddress.aspx">
                </asp:HyperLink></li>
            <li>
                <asp:HyperLink runat="server" ID="hlShipping" Text="Shipping" CssClass="inactive-step">
                </asp:HyperLink></li>
            <li>
                <asp:HyperLink runat="server" ID="hlPayment" Text="Payment" CssClass="inactive-step">
                </asp:HyperLink></li>
            <li>
                <asp:HyperLink runat="server" ID="hlConfirm" Text="Confirm" CssClass="inactive-step">
                </asp:HyperLink></li>
            <li>
                <asp:HyperLink runat="server" ID="hlComplete" Text="Complete" CssClass="inactive-step">
                </asp:HyperLink></li>
        </ul>
    </div>
    <div class="clear">
    </div>
    <div class="page-title">
        <h1>
            Billing Address</h1>
    </div>
    <div class="clear">
    </div>
    <div class="checkout-data">
        <asp:Panel runat="server" ID="pnlSelectBillingAddress">
            <div class="select-address-title">
                Select Billing Address
            </div>
            <div class="clear">
            </div>
            <div class="address-grid">
                <asp:DataList ID="dlBillingAddresses" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                    RepeatLayout="Table" ItemStyle-CssClass="item-box">
                    <ItemTemplate>
                        <div class="address-item">
                            <div class="address-box">
                                display address
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </asp:Panel>
        <div class="clear">
        </div>
        <div class="enter-address-title">
            <asp:Label runat="server" ID="lEnterBillingAddress"></asp:Label></div>
        <div class="clear">
        </div>
        <div class="enter-address">
            <div runat="server" id="pnlTheSameAsShippingAddress" class="the-same-address">
            </div>
            <div class="enter-address-body">
                Adress Body
            </div>
            <div class="clear">
            </div>
            <div class="button">
                <asp:Button runat="server" ID="btnNextStep" Text="Next" CssClass="newaddressnextstepbutton"
                    ValidationGroup="EnterBillingAddress" />
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="order-summary-title">
        Order summary
    </div>
    <div class="clear">
    </div>
    <div class="order-summary-body">
        <asp:Panel class="order-summary-content" runat="server" ID="pnlCart">
            <asp:Panel runat="server" ID="pnlCommonWarnings" CssClass="warning-box" EnableViewState="false"
                Visible="false">
                <asp:Label runat="server" ID="lblCommonWarning" CssClass="warning-text" EnableViewState="false"
                    Visible="false"></asp:Label>
            </asp:Panel>
            <table class="cart">
                <thead>
                    <tr class="cart-header-row">
                   
                        <th class="picture">
                        </th>
                        <th>
                            Product(s)
                        </th>
                        <th>
                            Price
                        </th>
                        <th>
                            Qty.
                        </th>
                        <th class="end">
                            Total
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="rptShoppingCart" runat="server">
                        <ItemTemplate>
                            <tr class="cart-item-row">
                                 <td class="productpicture">
                                    <asp:Image ID="iProductVariantPicture" runat="server" AlternateText="Product picture" />
                                </td>
                                <td class="product">
                                    <%--    <%#Server.HtmlEncode(GetProductVariantName((ShoppingCartItem)Container.DataItem))%></a>
                            <%#GetAttributeDescription((ShoppingCartItem)Container.DataItem)%>
                            <%#GetRecurringDescription((ShoppingCartItem)Container.DataItem)%>--%>
                                    <asp:Panel ID="pnlWarnings" runat="server" CssClass="warning-box" EnableViewState="false"
                                        Visible="false">
                                        <asp:Label ID="lblWarning" runat="server" CssClass="warning-text" EnableViewState="false"
                                            Visible="false"></asp:Label>
                                    </asp:Panel>
                                    </a>
                                </td>
                                <td style="white-space: nowrap;">
                                    <asp:Label ID="lblPriceUnit" runat="server">Price</asp:Label>
                                </td>
                                <td style="white-space: nowrap;">
                                    <asp:TextBox ID="txtQuantity" runat="server" size="4" SkinID="ShoppingCartQuantityText"
                                        Text='<%# Eval("Quantity") %>' />
                                </td>
                                <td class="end" style="white-space: nowrap;">
                                    <asp:Label ID="lblShoppingCartItemId" runat="server" Text='<%# Eval("ShoppingCartItemId") %>'
                                        Visible="false" />
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <div class="clear">
            </div>
            <div class="selected-checkout-attributes">
            </div>
            <div class="clear">
            </div>
            <div class="clear">
            </div>
            <div class="totals">
                <div class="total-info">
                    <table class="cart-total">
                        <tbody>
                            <tr>
                                <td class="cart_total_left">
                                    <strong><span style="white-space: nowrap;">Sub-Total:</span></strong>
                                </td>
                                <td class="cart_total_right">
                                    <span style="white-space: nowrap;">
                                        <asp:Label ID="lblSubTotalAmount" runat="server" CssClass="productPrice" />
                                    </span>
                                </td>
                            </tr>
                            <tr>
                                <td class="cart_total_right">
                                    <span style="white-space: nowrap;">
                                        <asp:Label ID="lblTotalAmount" runat="server" CssClass="productPrice" />
                                    </span>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="clear">
            </div>
            <div class="clear">
            </div>
        </asp:Panel>
    </div>
</asp:Content>
